-
-
Notifications
You must be signed in to change notification settings - Fork 360
Implementation of Euclideans Algorithm in Kotlin. #589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution! Kotlin is a great language and I am glad multiple people are now writing in it here.
Because these are all functions, can you put everything into one file, and have main
call both euclidMod
and euclidSub
?
Oh, there is one other thing I noticed that isn't something you need to change for this PR. I see that you're making the PR from the master branch of your fork. Once you start making multiple PRs for a project (not just this one, any one), or if you want to update your fork's master from the upstream master, your life will become hell. You should make a branch for your code and do the PR from there: https://github.com/algorithm-archivists/algorithm-archive/wiki/How-to-Contribute#step-32---branching |
Co-Authored-By: olaven <olavsundfoer@gmail.com>
Co-Authored-By: olaven <olavsundfoer@gmail.com>
Thank you for the improvements and advice😄 I greatly appreaciate it. |
Co-Authored-By: olaven <olavsundfoer@gmail.com>
Looks good, thanks again! I'm even gonna leave all the emoji in the commit log. Edit: aw, the message isn't what I thought it was. Oh well! |
This is my first time contributing to this project.
Hopefully, I've done everything correctly.
Otherwise, let me know, and I will fix it as fast as possible 🚂🚋🚋
Thank you for creating such an inspiring project🌦